home *** CD-ROM | disk | FTP | other *** search
- Path: metropolis.nl!usura!joskam
- From: joskam@usura.metropolis.nl (Jurjen Oskam)
- Message-ID: <314c6829@usura.metropolis.nl>
- Newsgroups: comp.sys.amiga.programmer
- Subject: GCC C++ questions
- Date: 17 Mar 96 13:29:45 CET
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- Organization: * Open your mind! *
- X-GateSoftware: AmiGate 1.6b (28.1.96)
- X-CDA-fodder: shit fuck damn bestiality microsoft
-
- Hello there,
-
- I've just installed the GNU C Compiler (68020 version), and now I have some
- questions.
-
- I don't have any experience with C++ until very recently, but I do have
- experience in programming other languages. From Aminet I got the gcc270
- distribution, and used the installer-script from gcc270-readme.lha to install
- everything.
-
- It works fine, but look at this C++ program:
-
- #include <iostream.h>
-
- int main()
- {
- cout << "Hello!" << endl ;
- }
-
- This compiles OK, but the executable is 69KB! A bit too large, IMHO. ;-) I
- understand that GCC uses ixemul.library, and that there is another library
- that's better for programs not ported from UN*X, namely libnix.library. So, how
- do I install libnix.library (the docs say "don't forget to link it")? I don't
- know how to "link" it.
-
- Can anyone help? How can I use libnix instead of ixemul, and how do I get those
- executable sizes down?
-
- --
- Jurjen Oskam -=*Finger joskam@metropolis.nl for PGP public key *=-
- Key fingerprint = E3 9F E7 5C 16 3B D2 B2 4F 86 BA 66 96 0C 44 F1
-
- ... Do you ever get the feeling that the computer is pushing YOUR button?
-